package Demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-06-09
 * Time: 20:47
 */
public interface Inshape {
    //成员变量默认public static修饰
    public int a=10;
    public static int b=20;
    int c=30;


    //抽象方法默认是public abstract修饰
    void eat();

    //如果方法写方法体，则必须被static/default修饰
    static void my_print(){
        ;
    }
}